package com.globopt.global.alg.old;
public class Opts {

	private int nvars; // dimension
	private int n100;
	private int ng0;
	private int nsig;
	private int maxfn;
	private int maxnlm;
	private String method;
	private String display;

	public Opts(int nvars) {
		this.nvars = nvars;
		this.n100 = 10 * nvars;
		this.ng0 = Math.min(2 * nvars, 20);
		this.nsig = 6;
		this.maxfn = 1000;
		this.maxnlm = 20;
		this.method = "unirandi";
		this.display = "final";
	}

	public int getN100() {
		return n100;
	}

	public void setN100(int n100) {
		this.n100 = n100;
	}

	public int getNg0() {
		return ng0;
	}

	public void setNg0(int ng0) {
		this.ng0 = ng0;
	}

	public int getNsig() {
		return nsig;
	}

	public void setNsig(int nsig) {
		this.nsig = nsig;
	}

	public int getMaxfn() {
		return maxfn;
	}

	public void setMaxfn(int maxfn) {
		this.maxfn = maxfn;
	}

	public int getMaxnlm() {
		return maxnlm;
	}

	public void setMaxnlm(int maxnlm) {
		this.maxnlm = maxnlm;
	}

	public String getMethod() {
		return method;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public String getDisplay() {
		return display;
	}

	public void setDisplay(String display) {
		this.display = display;
	}

}
